package hehe.container.scan;

import hehe.container.build.annotation.AnnotationMetadata;
import java.util.List;

/**
 * 注解扫描处理器
 *<B>说明：</B>
 *<pre>
 * 略
 *</pre>
 *<B>示例：</B>
 *<pre>
 *  略
 *</pre>
 *<B>日志：</B>
 *<pre>
 *  略
 *</pre>
 *<B>注意事项：</B>
 *<pre>
 *  略
 *</pre>
 */
public class AnnotationScanHandler extends ScanHandler
{

    @Override
    public void collect(Class clazz)
    {
        return;
    }

    @Override
    public void handler(List<Class<?>> clazzs) throws Exception
    {
        // 处理扫描注解类
        for (Class<?> clazz : clazzs) {
            AnnotationMetadata metadata = new AnnotationMetadata(clazz);
            metadata.parse();
        }
    }
}
